<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<h3>"Log In" subview</h3>
<s:if test="#session.ERROR != null">
	<div style="color:red;margin:10px 10px 10px 10px;">
		<s:property value="%{#session.ERROR}"/>
	</div>
</s:if>
<s:form name="loginForm" action="loginPortlet" method="post" namespace="/nonajax">
	<s:textfield label="Username" name="username" maxlength="20" size="20"/>
	<s:password label="Password" name="password" maxlength="20" size="20"/>
	<s:submit name="loginEvent" value="Log In"/>
</s:form>
<p><em>Username is "michael", password is "asdf".</em></p>
<% session.removeAttribute("ERROR");%>